package com.etool.action;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;

import com.etool.modules.auth.model.NoRequireAuth;
import com.opensymphony.xwork2.ActionSupport;

@NoRequireAuth
public class IndexAction extends ActionSupport{
	
	@Action(value="index",results={@Result(name=SUCCESS,location="/indexs.jsp")})
	public String index(){
		return SUCCESS;
	}

	private String tourl;
	
	@Action("test")
	public String test()
	{
		return SUCCESS;
	}

	public String getTourl() {
		return tourl;
	}

	public void setTourl(String tourl) {
		this.tourl = tourl;
	}
}
